#include "ParserSMIL.h"
#include "string.h"
#include "stdio.h"

char* ParserSMIL::parse(char *arg1, char *arg2){
	decrypt(arg1,arg2);
}

bool ParserSMIL::is_true(char *arg){
	if(arg=="true" || arg=="1")
		return true;
	return false;
}

char* ParserSMIL::decrypt(char *arg1, char *arg2){

}
char* ParserSMIL::unpack_B8(int arg){
	char *result;
	sprintf(result, "%d", arg);
	while(strlen(result)<8){

	}
}
char* ParserSMIL::atob(char *arg){

}
char* ParserSMIL::hex2iso(char *arg){

}
char* ParserSMIL::bin_add(char *arg1, char *arg2, char *arg3){

}

//video=/get/smil/614342657d44694d4d637d1169151066461766404c32431161401063474432404033161163164c67434667/0&smil=1&js_init=jsInit&content_runtime_buf=1407&content_back_buf=1407&js_next=getNextEpisode&content_preload_buf=2&content_seek_buf=1&stream_connect_timeout=10000&stream_start_timeout=20000&skin_ztv=0&skin=old&reports_url=http://api.zoomby.ru/notify